/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.tbp.persitence.dao;

import br.com.tbp.exception.PersistenciaException;
import br.com.tbp.model.domain.Consultor;
import br.com.tbp.model.domain.Visita;
import java.util.Date;
import java.util.List;

/**
 *
 * @author Diego
 */
public interface FunilVendaDao {

    public void registrarVisita(Visita visita) throws PersistenciaException;

    public void atualizarVisita(Visita visita) throws PersistenciaException;

    public List<Visita> findVisitas(Consultor consultor) throws PersistenciaException;

    public List<Visita> findAllVisitas(Consultor consultor) throws PersistenciaException;

    public List<Visita> findVisitasByPeriod(Date date1, Date date2) throws PersistenciaException;

    public List<Visita> findVisitasByPeriodAndConsultor(Date date1, Date date2, Consultor consultor) throws PersistenciaException;

    public List<Visita> findVisitasByRazaoSocial(String razaoSocial, Consultor consultor) throws PersistenciaException;
}
